function PBMreadBaseLocation () {
    var tds = document.getElementsByTagName ("td");
    for (var i=0; i<tds.length; i++) {
        if (tds[i].firstChild.textContent.substr(0, 9) == "Location:") {
            var loc = tds[i].lastChild.textContent;
            localStorage.setItem ('po_pbm_base_coords', loc);
            break;
        }
    }
}

window.onload = PBMreadBaseLocation;
